package dao;

import entity.Attendence;
import entity.Department;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * @version 1.0
 * @Author: 举个栗子吖
 * @Date: 2019/11/12 21:17
 */
public interface UserDao {

    List<Attendence> list(Map<String, Object> map);

    int count(Attendence attendence);

    List<Department> query();

    int add(Attendence attendence);

    Department getAll(int id);

    List<Department> getId();

    int update(@Param("id") int id, @Param("deptid") int deptid);

    int del(int id);

    //    批量删除
    int getDel(int[] ids);




}
